package top.lidee.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

/**
 * 支付宝产品申请日志表
 * <p>
 * Created by FSQ
 * CopyRight https://www.lidee.top
 */
@Getter
@Setter
@TableName("mt_alipay_product_applyfor_log")
@ApiModel(value = "MtAliProductApplyForLog对象", description = "支付宝产品申请日志表")
public class MtAliProductApplyForLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Null
    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("店铺ID")
    private Integer storeId;

    @ApiModelProperty("支付宝代申请产品名称")
    private String productName;

    @ApiModelProperty("支付宝代申请产品代码")
    private String productCode;

    @ApiModelProperty("产品开通状态")
    private String productStatus;

    @ApiModelProperty("授权商户的user_id")
    private String userId;

    @ApiModelProperty("授权商户的openid")
    private String openId;

    @ApiModelProperty("授权商户的appid")
    private String authAppId;

    @ApiModelProperty("应用授权令牌")
    private String appAuthToken;

    @ApiModelProperty("刷新令牌")
    private String appRefreshToken;

    @ApiModelProperty("应用授权令牌的有效时间（从接口调用时间作为起始时间），单位到秒")
    private String expiresIn;

    @ApiModelProperty("刷新令牌的有效时间（从接口调用时间作为起始时间），单位到秒")
    private String reExpiresIn;

    @ApiModelProperty("签约单号（如果是签约必返回）")
    private String orderNo;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;


}
